package cn.monkey.family.server.domain.shop.order;

import cn.monkey.family.data.Result;
import cn.monkey.family.data.context.RequestContext;
import cn.monkey.family.data.shop.order.OrderDto;

import java.util.EventListener;

public interface BeforeOrderCreateEventListener extends EventListener {
    Result<Void> beforeOrderCreated(RequestContext context, OrderDto order);
}
